<div class="top-common-nav  mb-50">
	<nav class="navbar navbar-inverse navbar-fixed-top">
		<div class="container">
			<!-- Brand and toggle get grouped for better mobile display -->
			<div class="navbar-header">
				<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
					<span class="sr-only">Toggle navigation</span> <span
						class="icon-bar"></span> <span class="icon-bar"></span> <span
						class="icon-bar"></span>
				</button>
				<div class="logo">
					<a href="/">十二小组</a>
				</div>
			</div>
			<div class="collapse navbar-collapse">
				<ul class="nav navbar-nav">
					<li class="active"><a href="/">首页 <span class="sr-only">(current)</span> </a></li>
					<li><a href="/qc/">问答 </a></li>
					<li><a href="/ac/">文章 </a></li>
					<li><a href="/sc/">分享 </a></li>
					<li><a href="/explore/">发现 </a></li>
					<li><a href="/topics/">话题 </a></li>
				</ul>
				<form class="navbar-form navbar-left" role="search" id="top-search-form" action="/search/" method="get">
					<div class="input-group">
						<input type="text" name="q" id="searchBox" class="form-control" value="${title!}" placeholder="有问题，搜下先" />
						<button class="input-group-addon btn" type="submit"><i class="fa fa-search"></i></button>
					</div>
				</form>
				<button type="button" class="btn button-blue ask-button">提问</button>
				<ul class="nav navbar-nav navbar-right">
					<@fly_login>
					<#if status??>
					<li><a href="/" class="active" id="unread_notifications"><span class="fa fa-bell-o fa-lg"></span></a></li>
					<li><a href="/ucenter/message" class="active" id="unread_messages"><i class="fa fa-envelope-o fa-lg"></i></a></li>
					<li class="dropdown user-avatar">
						<a href="/people/${user.shortUrl!}" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
							<img class="avatar-32 mr-5" alt="${user.nickName!}" src="<#if user.avatar??><@fly_avatar avatarurl=user.avatar avatar="avatar1"/><#else>/assets/skin/pc_theme/defalut/images/avatar/128x128.jpg</#if>?${.now?string("hhmmSSsss")}" >
						<span>${user.nickName!}</span>
						</a>
						<ul class="dropdown-menu" role="menu">
							<li class="divider"></li>
							<li><a href="/people/${user.shortUrl!}">我的主页</a></li>
							<li><a href="/ucenter/account_log">金币管理</a></li>
							<li><a href="/ucenter/message">我的私信</a></li>
							<li><a href="/ucenter/account">设置</a></li>
							<@fly_userpower groupName="技术专家组">
							<li><a href="/ucenter/share/add">写文章</a></li>
							</@fly_userpower>
							<li><a href="/ucenter/article/add">写文章</a></li>
							<li class="divider"></li>
							<li><a href="/logout">退出</a></li>
						</ul>
					</li>
					<#else>
					<li><a href="/login">登录</a></li>
					<li><a href="/reg">注册</a></li>
					</#if>
			        </@fly_login>
				</ul>
			</div>
		</div>
	</nav>
</div>

<div class="top-alert mt-50 clearfix text-center">
	<!--[if lt IE 9]>
	<div class="alert alert-danger topframe" role="alert">你的浏览器实在<strong>太太太太太太旧了</strong>，放学别走，升级完浏览器再说
		<a target="_blank" class="alert-link" href="http://browsehappy.com">立即升级</a>
	</div>
	<![endif]-->
</div>
